package com.example.demo.day.config.learn.designBook.firstDay.installSoftawre;

import java.util.Random;

//导向类
public class Wizard {

    private Random random = new Random(System.currentTimeMillis());

    //第一步
    public int first() {
        System.out.println("执行第一个方法");
        return random.nextInt(100);
    }

    //第二步
    public int second() {
        System.out.println("执行第二个方法");
        return random.nextInt(100);
    }

    //第三步
    public int third() {
        System.out.println("执行第三个方法");
        return random.nextInt(100);
    }
}
